<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<script>
		function feibo(n) {
		  let fib=[0,1];
		  for(let i=2;i<n;i++) {
		    fib[i]=fib[i-1]+fib[i-2];
		  }
		  return fib;
		}
		console.log(feibo(10));
		</script>
	</body>
</html>
